package com.lswms.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 交易记录表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-05-06
 */
@Data
@ApiModel(value = "交易记录表")
public class YnPayRecordDTO implements Serializable {
    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "唯一Id")
	private Long id;

	@ApiModelProperty(value = "用户id")
	private Long userId;

	@ApiModelProperty(value = "业务类型(CHARGE:充值，CASHOUT:提现，SIGN:打卡，BACK:退还，LOTTERY:抽奖)")
	private String businessType;

	@ApiModelProperty(value = "业务id")
	private Long businessId;

	@ApiModelProperty(value = "uuid")
	private String uuid;

	@ApiModelProperty(value = "支付方式（aliPay:支付宝  weixin:微信  bank:银行转账  offline:线下转账）")
	private String type;

	@ApiModelProperty(value = "支付渠道（web:WEB支付  app:APP支付  wap:手机网站支付 jsapi:针对于微信内部支付，mini:小程序）")
	private String channel;

	@ApiModelProperty(value = "支付金额")
	private BigDecimal amt;

	@ApiModelProperty(value = "支付状态（0：支付中、1：支付成功,2：支付失败、）")
	private Integer status;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "年月")
	private String yearmonth;

	@ApiModelProperty(value = "创建者")
	private Long creator;

	@ApiModelProperty(value = "创建时间")
	private Date createDate;

	@ApiModelProperty(value = "更新者")
	private Long updater;

	@ApiModelProperty(value = "更新时间")
	private Date updateDate;


}